package com.xnew.entity.memberArchives;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
* @Author: Zhozh
* @Description: 会员报送注册信息表
* @DateTime: 2022/3/29
* @Params:
* @Return
*/
@TableName("t10_memsub_reg_info_hist")
public class MemsubRegInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String beltoRegiCode;
    private String orgName;
    private String orgId;
    private String orgTypeCode;
    private Integer rownum;

    public String getBeltoRegiCode() {
        return beltoRegiCode;
    }

    public void setBeltoRegiCode(String beltoRegiCode) {
        this.beltoRegiCode = beltoRegiCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getOrgTypeCode() {
        return orgTypeCode;
    }

    public void setOrgTypeCode(String orgTypeCode) {
        this.orgTypeCode = orgTypeCode;
    }

    public Integer getRownum() {
        return rownum;
    }

    public void setRownum(Integer rownum) {
        this.rownum = rownum;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"infsubAuditStatusCode","classifSuprvRatCode","beltoRegiCode","isCloseStatus","listAddrCode","compNature","sysOrgUserInfo","lstcmpNo","auditLogList"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0149","DG0116","DG0060","DG0104","DG0243","DG0447","OBJECT","DG0104","LIST"};
    }
}